package com.biqee.util;

import com.biqee.model.db.BqTuan;
import com.biqee.model.db.TbJuItem;

public class BqTuanUtil {
	
	public static BqTuan createBqTuan(TbJuItem tbJuItem) {
		BqTuan bqTuan = new BqTuan();
		bqTuan.setDescription(tbJuItem.getDescription());
		bqTuan.setImgUrl(tbJuItem.getImgUrl());
		bqTuan.setOldPrice(tbJuItem.getOldPrice());
		bqTuan.setSite(BqTuan.SITE_TAOBAO);
		bqTuan.setSiteItemId(tbJuItem.getItemId());
		bqTuan.setTuanPrice(tbJuItem.getJuPrice());
		return bqTuan;
	}
}
